You are here: Symbol Reference > Dew Namespace > Dew.Signal Namespace > Dew.Signal.Units Namespace > Classes > SignalUtils Class > SignalUtils Methods > SignalUtils.PeekCircularBuffer Method
Dew Signal for .NET
ContentsIndexHome
PreviousUpNext
SignalUtils.PeekCircularBuffer Method

Get the number of available samples within the circular buffer.

Syntax
C#
Visual Basic
public static int PeekCircularBuffer([In] TCircularBufferState State);

Returns number of available samples, that can be read by ReadFromCircularBuffer. This function allows you to guard against buffer underflow. (reading data that is not there yet)

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!